<?php

include_once('plugin/LoginPlugin.php');

// Valida que exista el usuario
if (!LoginPlugin::isLogged()) {
	include_once('coreapi/SmartyManager.php');
	$smarty = SmartyManager::getSmarty();
	$smarty->display('login.tpl');
}